import request from '@/utils/request'

// 查询孕妇列表
export function listPregnant_woman(query) {
  return request({
    url: '/report/pregnant_woman/list',
    method: 'get',
    params: query
  })
}

// 查询孕妇详细
export function getPregnant_woman(id) {
  return request({
    url: '/report/pregnant_woman/' + id,
    method: 'get'
  })
}

// 新增孕妇
export function addPregnant_woman(data) {
  return request({
    url: '/report/pregnant_woman',
    method: 'post',
    data: data
  })
}

// 修改孕妇
export function updatePregnant_woman(data) {
  return request({
    url: '/report/pregnant_woman',
    method: 'put',
    data: data
  })
}

// 删除孕妇
export function delPregnant_woman(id) {
  return request({
    url: '/report/pregnant_woman/' + id,
    method: 'delete'
  })
}
